\hypertarget{classguild__service_1_1detail_1_1service__data__pool}{}\doxysection{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool$<$ T, Container $>$ Class Template Reference}
\label{classguild__service_1_1detail_1_1service__data__pool}\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}


服务数据池类  




{\ttfamily \#include $<$service\+\_\+data\+\_\+pool.\+hpp$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_ac1d498ff3199e8df31f8b0fbbb9a3402}\label{classguild__service_1_1detail_1_1service__data__pool_ac1d498ff3199e8df31f8b0fbbb9a3402}} 
{\bfseries service\+\_\+data\+\_\+pool} (\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a725fd9e261c5d4bb77061a93e887452e}{size}}=64)
\item 
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a607e27562155f682a44460ab1dfca668}{push}} (const T \&value)
\item 
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_ac9916cee36fca7b6c7fb4bf00eee11f0}{push}} (T \&\&value)
\item 
const T \& \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a91dbbca71425381bc1322d917e78c99a}{get}} (\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} index) const
\item 
T \& \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a35d7465ec0cede33b3e9a6738869c089}{get}} (\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} index)
\item 
bool \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a12eb8f251bbc31bc1dcf0410d37feeb5}{is\+\_\+empty\+\_\+data}} (const T \&data) const
\item 
bool \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a2b9747711ba71ae152e0773a09bd0213}{set}} (\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} index, const T \&value)
\item 
\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_a725fd9e261c5d4bb77061a93e887452e}{size}} () const
\item 
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool_aed6ec69b0a65c1373428544411410014}{resize}} (\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} count)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T, template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$\newline
class guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool$<$ T, Container $>$}

服务数据池类 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a35d7465ec0cede33b3e9a6738869c089}\label{classguild__service_1_1detail_1_1service__data__pool_a35d7465ec0cede33b3e9a6738869c089}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!get@{get}}
\index{get@{get}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{get()}{get()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
T\& \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}}}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em index} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\& 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a91dbbca71425381bc1322d917e78c99a}\label{classguild__service_1_1detail_1_1service__data__pool_a91dbbca71425381bc1322d917e78c99a}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!get@{get}}
\index{get@{get}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{get()}{get()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
const T\& \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}}}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em index} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
const T\& 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a12eb8f251bbc31bc1dcf0410d37feeb5}\label{classguild__service_1_1detail_1_1service__data__pool_a12eb8f251bbc31bc1dcf0410d37feeb5}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!is\_empty\_data@{is\_empty\_data}}
\index{is\_empty\_data@{is\_empty\_data}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{is\_empty\_data()}{is\_empty\_data()}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
bool \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::is\+\_\+empty\+\_\+data (\begin{DoxyParamCaption}\item[{const T \&}]{data }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
T\& 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em data} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a607e27562155f682a44460ab1dfca668}\label{classguild__service_1_1detail_1_1service__data__pool_a607e27562155f682a44460ab1dfca668}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!push@{push}}
\index{push@{push}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{push()}{push()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::push (\begin{DoxyParamCaption}\item[{const T \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_ac9916cee36fca7b6c7fb4bf00eee11f0}\label{classguild__service_1_1detail_1_1service__data__pool_ac9916cee36fca7b6c7fb4bf00eee11f0}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!push@{push}}
\index{push@{push}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{push()}{push()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::push (\begin{DoxyParamCaption}\item[{T \&\&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_aed6ec69b0a65c1373428544411410014}\label{classguild__service_1_1detail_1_1service__data__pool_aed6ec69b0a65c1373428544411410014}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!resize@{resize}}
\index{resize@{resize}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{resize()}{resize()}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
void \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::resize (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}}}]{count }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em num} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a2b9747711ba71ae152e0773a09bd0213}\label{classguild__service_1_1detail_1_1service__data__pool_a2b9747711ba71ae152e0773a09bd0213}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!set@{set}}
\index{set@{set}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
bool \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}}}]{index,  }\item[{const T \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em index} & \\
\hline
{\em value} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1detail_1_1service__data__pool_a725fd9e261c5d4bb77061a93e887452e}\label{classguild__service_1_1detail_1_1service__data__pool_a725fd9e261c5d4bb77061a93e887452e}} 
\index{guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}!size@{size}}
\index{size@{size}!guild\_service::detail::service\_data\_pool$<$ T, Container $>$@{guild\_service::detail::service\_data\_pool$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily template$<$typename T , template$<$ typename Elem, typename Alloc=std\+::allocator$<$ Elem $>$$>$ class Container = std\+::vector$>$ \\
\mbox{\hyperlink{service__data__pool_8hpp_ab6ae0dd98e9dbbc584c17026da045197}{pool\+\_\+index\+\_\+type}} \mbox{\hyperlink{classguild__service_1_1detail_1_1service__data__pool}{guild\+\_\+service\+::detail\+::service\+\_\+data\+\_\+pool}}$<$ T, Container $>$\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
pool\+\_\+index\+\_\+type 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
pool/\mbox{\hyperlink{service__data__pool_8hpp}{service\+\_\+data\+\_\+pool.\+hpp}}\end{DoxyCompactItemize}
